
package com.x52im.rbchat.logic.contact.viewholder.foot;

import android.view.View;

import com.x52im.rbchat.logic.contact.FriendListAdapter;
import com.x52im.rbchat.logic.contact.model.FooterItemValue;

import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.RecyclerView;

public abstract class FooterItemViewHolder<T extends FooterItemValue> extends RecyclerView.ViewHolder {
    protected Fragment fragment;
    protected FriendListAdapter adapter;
//    protected ContactViewModel contactViewModel;

    public FooterItemViewHolder(Fragment fragment, FriendListAdapter adapter, View itemView) {
        super(itemView);
        this.fragment = fragment;
        this.adapter = adapter;
//        contactViewModel = ViewModelProviders.of(fragment).get(ContactViewModel.class);
    }


    public abstract void onBind(T t);
}
